package com.memory.modules.business.domain.user;

import lombok.Data;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @PackageName: com.memory.modules.business.domain
 * @ClassName: Account
 * @Description:
 * @author: zhuguangxun
 * @date 2021/3/10
 */
@Data
@Entity
@Table(name = "account_info")
@EntityListeners(AuditingEntityListener.class)
public class Account implements Serializable {

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;

    private String phone;

    private String realName;

    private String nickName;

    private String openId;

    private String createDate;


}
